package com.mhc.suzuki.dal.mapper.ext;

import com.mhc.suzuki.bo.OrderInfoBO;
import com.mhc.suzuki.dal.mapper.LoanInfoMapper;
import com.mhc.suzuki.dal.model.LoanInfoDO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * MyBatis Ext Mapper for LoanInfo.
 */

@Mapper
@Repository
public interface LoanInfoExtMapper extends LoanInfoMapper {

  /**
   * select by order no.
   */
  LoanInfoDO selectByOrderNo(String orderNo);


  /**
   * 根据部门id获取订单信息
   * @param paramMap
   * @return
   */
  List<OrderInfoBO> selectOrderListByDeptId(Map<String, ?> paramMap);
}
